package com.parsec.sb.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * Created by AutoGenerateCode on 2021-11-08 10:08:56.
 *
 * @author xujiahong
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName(value = "tbl_custom_form")
@ApiModel(description = "表单")
public class CustomForm {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "表单ID")
    private Long id;

    @ApiModelProperty(value = "病种ID")
    private Long diseaseId;

    @ApiModelProperty(value = "表单名称")
    private String formName;

    @ApiModelProperty(value = "表单描述")
    private String formDesc;

    @ApiModelProperty(value = "数据源ID（前置）")
    private Long dataSourceId;

    @ApiModelProperty(value = "初始化JSON（前置）")
    private String initJson;

    @ApiModelProperty(value = "跳转链接（后置 ）")
    private String jumpLink;

    @ApiModelProperty(value = "内容JSON")
    private String contentJson;

    @ApiModelProperty(value = "是否展示（1是0否）")
    private Integer isShow;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updatedTime;

}